package com.quasar.hpatient.onInterface;

import com.quasar.hpatient.model.httpmodel.AnotherResult;
import com.quasar.hpatient.model.httpmodel.DataStateResult;
import com.quasar.hpatient.model.medicalmodel.DiscomfortData;

/**
 * author : 许建宏
 * Date: 2017/11/10 0010
 * View:不适症状
 */

public interface OnDataResultListener {

    //更改回调
    void onViewFirstSuccess(AnotherResult<DiscomfortData> data);
    void onViewNextSuccess(AnotherResult<DiscomfortData> data);
    //失败回调
    void onViewError(String msg);
    //界面更新
    void onViewRefreshUI();
    //不适症状提交
    void onSubSymptoms(DataStateResult dataStateResult);
    //刷新列表
    void onViewRefreshListSuccess();
    //修改事件描述
    void onUpdateDescribe(DataStateResult dataStateResult);

}
